var warehouse   = []
,   length      = 0
,   thisIndex   = -1
,   app         = null;

var use = function(obj){
    warehouse.push(obj);
    length += 1;
};

var run = function(){
    if(thisIndex < length - 1){
        thisIndex += 1;
        warehouse[thisIndex](that, run);
    }else
        console.log('use success');
};

use.warehouse   = warehouse;
use.run         = function(){
    console.log(this);
};

module.exports = use;